#include<iostream>
using namespace std;
class A
{
public:
    void Print()
    {}
private:
    int i;
    char ch;
};
//没有成员变量的类
class B
{
public:
    void Print()
    {}
};
//空类
class C
{};
int main()
{
    cout << sizeof(A) << endl;
    cout << sizeof(B) << endl;
    cout << sizeof(C) << endl;
    return 0;
}

